package com.mangosteen.interviewji.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 问题关联表
 * @TableName question_associate
 */
@TableName(value ="question_associate")
@Data
public class QuestionAssociate {
    /**
     * 主id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Integer id;

    /**
     * 题目id
     */
    private Long questionId;

    /**
     * 浏览量
     */
    private Integer viewNum;

    /**
     * 点赞数
     */
    private Integer thumNum;

    /**
     * 收藏量
     */
    private Integer favourNum;

    /**
     * 优先级
     */
    private Integer priority;
}